<template>
  <div>
    <li class="dropdown-option" :class="{ 'is-disabled': disabled}">
      <slot></slot>
    </li>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'DropdownItem',
  props: {
    disabled: { type: Boolean, default: false }
  },
  setup(props) {
    return {}
  }
})
</script>
<style scoped>
.dropdown-option.is-disabled {
  color: #6c757d;
  background-color: transparent;
  pointer-events: none;
}
</style>
